package com.xyf.sys.mapper;

import com.xyf.sys.domain.OrderProductCode;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
@Mapper
public interface OrderProductCodeMapper {
    int deleteByPrimaryKey(String id);

    int insert(OrderProductCode record);

    int insertSelective(OrderProductCode record);

    OrderProductCode selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(OrderProductCode record);

    int updateByPrimaryKey(OrderProductCode record);

    Integer selectMaxBatchNo(@Param("userId") String userId);

    OrderProductCode selectByCode(@Param("code") String code);
}